package com.mindskip.xzs.service;

import com.mindskip.xzs.viewmodel.admin.qywx.QywxDepartment;
import com.mindskip.xzs.viewmodel.admin.qywx.QywxDepartmentTree;
import com.mindskip.xzs.viewmodel.admin.qywx.QywxDepartmentTreeV1;
import com.mindskip.xzs.viewmodel.admin.qywx.QywxUser;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author guoguangkai
 * @since 2022/9/13
 */
public interface QywxService {

    /**
     * 企业通讯录
     */
    List<QywxDepartment> getDepartmentList(Long id);
    List<QywxUser> getUserList(Long departmentId);
    QywxDepartmentTree getDepartAndUserTree(Boolean useCache);
    List<QywxDepartmentTreeV1> getDepartAndUserTreeV1();
}
